find_package(GTest REQUIRED)

add_executable(timepoint_test timepoint_test.cpp)

set(UNITTEST_TARGETS
    timepoint_test
)

foreach(T ${UNITTEST_TARGETS})
    target_link_libraries(${T}
        PRIVATE
            spark-utils
            spark-net
            gtest
            gtest_main
            Threads::Threads
    )
    set_target_properties(
        ${T}
        PROPERTIES
            RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
    )
endforeach()
